import axios from '@/fetch'

export function getryList(data) {
  return axios({
    url: "/reply/findall",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params:data
  })
}

export function getryid(data) {
  return axios({
    url: "/reply/findone",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params:data
  })
}


export function delreply(data) {
  return axios({
    url: "/reply/delete",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params:data
  })
}

export function answer(data) {
  return axios({
    url: "/reply/answer",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params:data,

  })
}

export function auditreply(data) {
  return axios({
    url: "/reply/changeshow",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params:data
  })
}

export function ryqueryid(data) {
  return axios({
    url: "/reply/findbynumber",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params: data
  })
}
